import { createI18n } from 'vue-i18n'
import enLocale from './en_gb'
import zhLocale from './zh_cn'
const i18n = createI18n({
  legacy: false,
  // default language
  locale: 'zh',
  // close console dip
  silentFallbackWarn: true,
  // set locale
  messages: {
    zh: zhLocale,
  },
})

export default i18n
